package com.bjgzy.courselive.di.component;

import com.bjgzy.courselive.di.module.CourseLiveMainModule;
import com.bjgzy.courselive.mvp.contract.CourseLiveMainContract;
import com.bjgzy.courselive.mvp.ui.activity.CourseLiveMainActivity;
import com.jess.arms.di.component.AppComponent;
import com.jess.arms.di.scope.ActivityScope;

import dagger.BindsInstance;
import dagger.Component;

/**
 * @author xubo
 * @date 2018-7-30 15:34:09
 */
@ActivityScope
@Component(modules = CourseLiveMainModule.class, dependencies = AppComponent.class)
public interface CourseLiveMainComponent {
    void inject(CourseLiveMainActivity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        CourseLiveMainComponent.Builder view(CourseLiveMainContract.View view);

        CourseLiveMainComponent.Builder appComponent(AppComponent appComponent);

        CourseLiveMainComponent build();
    }


}